table td{
    padding: 20px 40px;
}
table tr:nth-child(odd) {
    background-color: green;
}
table tr:nth-child(even) {
    background-color: red;
}
table {
    border-collapse: collapse;
}